package com.peng._05mvcboot03.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户登录DTO
 * @Author peng
 * @Date 2024-04-26 17:06
 */
@Data
public class UserLoginDTO {
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码不能为空")
    private String password;
}
